/*************************************************************************
	> File Name: oj-202_sort_height.c
	> Author: Wang Bo
	> Mail: 1276106221@qq.com
	> Created Time: 2020年10月23日 星期五 23时39分21秒
 ************************************************************************/

#include <stdio.h>
#include <stdlib.h>

void swap(int *a, int *b) {
    int temp = *a;
    *a = *b;
    *b = temp;
}

void sortwpos(int *data, int *pos, int len) {
    for (int i = 1; i <= len; ++i) {
        int swapped = 0;
        for (int j = 1; j <= len - i; ++j) {
            if (data[j] > data[j + 1]) {
                swap(&data[j], &data[j + 1]);
                swap(&pos[j], &pos[j + 1]);
                swapped = 1;
            }
        }
        if (swapped == 0) break;
    }
}

int main() {
    int n, a[1001] = {0}, pos[1001] = {0};
    scanf("%d", &n);
    for (int i = 1; i <= n; ++i) {
        scanf("%d", &a[i]);
        pos[i] = i;
    }
    sortwpos(a, pos, n);
    for (int i = 1; i <= n; ++i) {
        if (i > 1) printf(" ");
        //printf("%d:%d", pos[i], a[i]);
        printf("%d", pos[i]);
    }
    return 0;
}
